home *** CD-ROM | disk | FTP | other *** search
- Echo Off
-
- Rem
- Rem This file is a very simple batch file for running BT as a point
- Rem system. All it does is start up BT waiting for it to exit with
- Rem The errorlevel indicating that the system should start sending
- Rem mail. When that signal is received, the ConfMail program is run
- Rem to export any echomail, and oMMM is run to properly ARC it to the
- Rem boss node. Note also that the ErrorLevel of 201 is trapped by
- Rem the batch file - this is in case BT exits with an ErrorLevel that
- Rem is unexpected, but is not the proper ErrorLevel for creating mail.
- Rem All ErrorLevel checking has to be done in decreasing order due to
- Rem an MS-DOS limitation.
- Rem
- Rem Edit this file to your heart's content. It is meant as a sample
- Rem only. It should be good for MOST point applications, but by no
- Rem means will be good for all!
- Rem
-
- :Top
- BT Unattended
- If ErrorLevel 201 Goto Top
- If ErrorLevel 200 Goto Mail_Out
-
- Rem
- Rem If we got here, then it means we should exit and return to DOS.
- Rem
-
- Goto Off_Bottom
-
- Rem
- Rem If we got here, then it is time to export the echomail and run oMMM
- Rem
-
- :Mail_Out
- ConfMail Export -O C:\Bink\OutBound
- oMMM -IC:\Bink\Binkley.Prm -MC:\Bink\Matrix -HC:\Bink\Outbound -CC:\Bink\BinkRout.Ctl
- Goto Top
-
- Rem
- Rem Time to get out
- Rem
-
- :Off_Bottom
- C:
- CD \Bink
- ConfMail Import -N -K -F Echo.Out -A Pkxarc
- ConfMail Maint -F Echo.Out